package cn.kgc.springcloud.client;

import org.springframework.stereotype.Component;

/**
 * @author: 课工场
 * @since 2023/9/2
 */
@Component
public class HystrixClientImpl implements HystrixClient {

    //method1异常时 快速响应方法
    @Override
    public String method1(Integer id) {
        return "系统参数异常,id="+id;
    }
}
